package com.example.worklab.pathmeasure.activity

import android.os.Bundle
import android.view.LayoutInflater
import com.example.worklab.base.BaseActivity
import com.example.worklab.databinding.ActivityPlaneLoadingBinding

class PlaneLoadingActivity:BaseActivity<ActivityPlaneLoadingBinding>() {
    override val bindingInflater: (LayoutInflater) -> ActivityPlaneLoadingBinding
        get() = ActivityPlaneLoadingBinding::inflate

    override fun initData(savedInstanceState: Bundle?) {

    }

    override fun initView(savedInstanceState: Bundle?) {
        binding.startBtn.setOnClickListener {
            binding.planeLoadingView.start()
        }
        binding.stopBtn.setOnClickListener {
            binding.planeLoadingView.stop()
        }
    }
}